package com.example.earchartsspringweb.service.Impl;


import com.example.earchartsspringweb.data.BarData;
import com.example.earchartsspringweb.mapper.BarDataMapper;

import com.example.earchartsspringweb.service.BarDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BarDataServiceImpl implements BarDataService {

    @Autowired
    private BarDataMapper barDataMapper;

    @Override
    public List<BarData> getAllBarData() {
        return barDataMapper.selectAll();
    }
}